package com.tledu.production.service.crafts;

import com.tledu.production.mapper.crafts.ProcessMapper;
import com.tledu.production.model.crafts.ProcessModel;
import com.tledu.production.model.crafts.TechnologyModel;

import java.util.List;

/**
 * @author hp
 */
public interface ProcessService {
    List<ProcessModel> list();

    //搜索
    List<ProcessModel> selectByName(String condition, String conditionName);
    //删除
    int delPro(String processId);
    //增加
    int insertpro(ProcessModel processModel);
    //编辑
    int updatepro(ProcessModel processModel);
    //根据ID查全部
    ProcessModel selectId(String processId);

}
